﻿using System;

namespace ProjectCloth.Entity
{
    public class Product
    {
        public int Id { set; get; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string ProductNo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Assortment { get; set; }
        /// <summary>
        /// 色号
        /// </summary>
        public string ColorType { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public int Unit { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 大货价格
        /// </summary>
        public decimal BatchPrice { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        #region 2020-1-31 添加属性 产品等级 编号Ｂ 成本 厂家  负责人 成分  种类 幅宽  扩展备注
        //  2020-1-31 添加属性 
        //产品等级 编号Ｂ 成本 厂家  负责人 成分  种类 幅宽  扩展备注
        /// <summary>
        /// 产品等级
        /// </summary>
        public string ProductLevel { get; set; }
        /// <summary>
        /// 编号Ｂ
        /// </summary>
        public string ProductNoB { get; set; }
        /// <summary>
        /// 成本
        /// </summary>
        public string ProductCost { get; set; }
        /// <summary>
        /// 厂家
        /// </summary>
        public string Producer { get; set; }
        /// <summary>
        /// 负责人Id
        /// </summary>
        public int? CreatorId { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 成分
        /// </summary>
        public string Composition { get; set; }
        /// <summary>
        /// 种类
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 幅宽
        /// </summary>
        public string ProductWidth { get; set; }
        /// <summary>
        /// 扩展备注
        /// </summary>
        public string ExtRemark { get; set; }
        #endregion
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Enabled { get; set; } = true;

    }
}